package org.NooLab.glue.net.hornet;

public class RemoteBridge {

}


/*
 
  
    01. MessagingServer server = new MessagingServerImpl();
      
      02. server.start();

      03. ClientSessionFactory sf = new ClientSessionFactoryImpl(...);

      04. ClientSession sess = sf.createSession();

      05. sess.createQueue("address1", "queue1");
      
      06. sess.start();

      07. ClientProducer prod = sess.createProducer("address1");

      08. Message message = new ClientMessageImpl(false);
      
      09. message.getBody().writeString("hello world");

      10. prod.send(message);

      11. ClientConsumer cons = sess.createConsumer("queue1");

      12. Message received = cons.receive();

      13. System.out.println("Got message " + received.getBody().readString());

      14. sess.close();

      15. server.stop();

 
 */
/*

In Eclipse for e.g. examples/jms/delayed-redelivery, go to "Run As Java Application" configuration | "Arguments" Tab:

Change "working directory"

from

${workspace_loc:hornetq-2.1.2.Final}

to

${workspace_loc:hornetq-2.1.2.Final/examples/jms/delayed-redelivery}


=======================

I just fixed the client/args.. there's something that was added from the twitter example....

the client-jndi.. you need that in your classpath.


*/